﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AzaEngine
{
    public class YearRange
    {
        public string RegExp;
        public string Label;

        public YearRange(string regexp, string label)
        {
            RegExp = regexp;
            Label = label;
        }
    }
    public class EngineConfig
    {
        public static List<YearRange> YearRanges = new List<YearRange>();

        public static void LoadDefault()
        {
            YearRanges.Add(new YearRange("([1][9][0-9]{2})|([2][0][0-9]{2})", "1900 - 2099"));    // 1900 - 2099
            YearRanges.Add(new YearRange("([1][5-9][0-9]{2})|([2][0][0-9]{2})", "1500 - 2099"));  // 1500 - 2099
        }
    }
}
